home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / TRAX.ZIP / PCBTODXF.DOC < prev    next >
Text File  |  1991-03-13  |  4KB  |  152 lines

  1. DOCUMENT FILE FOR PCBTODXF.EXE  Version 2.01
  2.  
  3. (c) 1991  PROTEL TECHNOLOGY PTY LTD
  4.  
  5.  
  6.  
  7. This program  converts an  AUTOTRAX PCB  file  to  the  AUTOCAD  Drawing
  8. Interchange file (DXF) format.
  9.  
  10. Because of  the space  intensive nature  of the  DXF format, the program
  11. generates either "draft" mode or "full" mode output.
  12.  
  13. Running PCBtoDXF.
  14.  
  15.  
  16. Type PCBtoDXF
  17.  
  18. The following will appear
  19.  
  20. AUTOTRAX FILE to AUTOCAD FILE PROGRAM  Version 2.01
  21. ---------------------------------------------------
  22.  
  23. Copyright (c) 1988,1991 Protel Technology Pty. Ltd.
  24.  
  25. Input File Name >
  26.  
  27. Enter the AUTOTRAX PCB file name (the extension will be forced to .PCB)
  28.  
  29. Output File Name >
  30.  
  31. Enter the DXF output file name.(the extension will be forced to .DXF)
  32.  
  33. If the  output file  already exists,  then you  will be asked to confirm
  34. overwriting it.
  35.  
  36. Output File SOMEFILE.DXF Exists, Overwrite Y/N >
  37.  
  38. Press the Y or N key.
  39.  
  40. You can  also supply  these filenames  from the  command line,  but  the
  41. overwrite prompt will still appear.
  42.  
  43. If you  supply incorrect number of  command  line  parameters  then  the
  44. following help message will appear.
  45.  
  46. Correct Command Line Usage
  47. PCBtoDXF <AUTOTRAX File Name> <DXF File Name>
  48.  
  49. For Example
  50. PCBtoDXF DEMO TEST
  51. Will Generate The File TEST.DXF
  52. If No File Names Are Supplied, The Program Will Prompt For Them.
  53.  
  54.  
  55. If the  input file  is not found, then the following message will appear
  56. and you will be returned to the DOS prompt.
  57.  
  58. Input File Not Found.  PCBtoDXF Program Aborted
  59.  
  60. Otherwise the following message will be displayed
  61.  
  62. Do You Want Full Quality Output in the DXF file (Big File)
  63. Y:es, Full Quality
  64. N:o, Generate Only Draft Quality
  65.  
  66. Press the  Y or N key to continue. The following message will appear and
  67. the DXF file will be generated.
  68.  
  69. Processing SOMEFILE.PCB
  70.  
  71. The sizes  of the  DXF file  will vary  dramatically  depending  on  the
  72. contents of  the PCB file, but as a rough guide, the draft mode DXF file
  73. will be  3 to  4 times  the size  of the PCB file, and the full mode DXF
  74. file will be 8 to 12 times the size of the PCB file.
  75.  
  76.  
  77.  
  78.  
  79. Notes on storage of data in the DXF file
  80. ----------------------------------------
  81.  
  82. The program  will place  all of  the PCB  data from  all PCB layers onto
  83. equivilent AutoCAD layers. To keep the space to a minimum, single letter
  84. layer designators are used.
  85.  
  86.  
  87. Top Layer        T
  88. Mid Layer 1      1
  89. Mid Layer 2      2
  90. Mid Layer 3      3
  91. Mid Layer 4      4
  92. Bottom Layer     B
  93. Top Overlay      O
  94. Bottom Overlay   M
  95. Ground Layer     G
  96. Power Layer      P
  97. Board Layer      D
  98. Keep-Out Layer   K
  99. Multi-Layer      U
  100.  
  101. All items  (both free  and component primitives) are saved as individual
  102. entities in the DXF file.
  103.  
  104.  
  105. Tracks
  106. In draft mode, tracks are stored as simple lines.
  107. In full  mode, tracks  are stored  as a  single poly-line  with a  solid
  108. circle on  each end.  Each solid  circle  consists  of  two  180  degree
  109. polyarcs.
  110.  
  111. Round Pads and Vias
  112. In draft mode, round pads and vias are stored as simple circles.
  113. In full mode they are stored as two 180 degree polyarcs.
  114.  
  115. Round Rectangular Pads
  116. In Draft  mode, these consist of two simple arcs, with two simple lines.
  117. In Full  mode rounded  rectangular pads  are stored  in the  same way as
  118. tracks.
  119.  
  120. Rectangular Pads and Fills
  121. These are  always drawn  as solid  fills. Although this is inconsistant,
  122. (ie fills  are solid  when  all  others  are  wire-frame),  the  storage
  123. requirements for  rectangular solids  are less  than for 4 lines. If you
  124. wish to  display a  draft mode  DXF file as all wire-frame (ie including
  125. area-fills), then  use the  AutoCAD FILL  command to  display SOLIDS  as
  126. wire-frames.
  127.  
  128. Octagonal Pads
  129. In Draft mode these are stored as eight lines.
  130. In full  mode, they  are stored  as three  horizontally oriented AutoCAD
  131. solids.
  132.  
  133. Targets
  134. In draft mode, stored as 2 lines and 2 arcs.
  135. In full mode, stored as 2 polylines and 2 polyarcs.
  136.  
  137. Moires
  138. Stored as either arcs in draft mode or polyarcs in full mode.
  139.  
  140. Text
  141. Always stored  as scaled  and rotated  AutoCAD text  using  the  default
  142. AutoCAD font. Line thickness is always 1 pixel.
  143.  
  144. Arcs
  145. In draft mode, stored as a single AutoCAD arc.
  146. In full  mode stored  as 1 or 2 polyarcs (since polyarcs can only be 180
  147. degrees max).
  148.  
  149.  
  150. (rev 3.91)
  151. (end)
  152.